﻿<%@ Page Language="C#" MasterPageFile="~/Administrator/MasterPage.master" AutoEventWireup="true" CodeFile="Khachhang_ds.aspx.cs" Inherits="Administrator_Khachhang_ds"  %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="menu_left">
        <li><a href="khachhang_add.aspx">Thêm mới khách hàng</a></li>
        <li><a href="khachhang_sua.aspx">Đổi thông tin khách hàng</a></li>
        <li><a href="#">Đổi mật khẩu</a></li>
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<div>
<h1 style="font-family:Arial;font-size:large;color:Blue">Danh sách các khách hàng đăng ký thành viên trong Let's Deal</h1>
    Tên khách hàng<span><asp:TextBox ID="txt_tenkhachhang" runat="server"></asp:TextBox></span>
        <asp:Button ID="bt_timkiem" runat="server" Text="Tìm" 
        onclick="bt_timkiem_Click" />
    <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
    <HeaderTemplate>
    <font size="-1">
    <table style="border:1px solid black" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td style="background-color:Silver;border:1px solid black;width:15%;text-align:center">
           Tên đăng nhập
        </td>
        <td style="background-color:Silver;border:1px solid black;width:20%;text-align:center">
            Họ Tên
        </td>
        <td style="background-color:Silver;border:1px solid black;width:13%;text-align:center">
            Địa chỉ
        </td>
            <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
           SDT
        </td>
        <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
            Email
        </td>
          <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
            Số dư tài khoản
        </td>
        <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
            
        </td>
        <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
            
        </td>
        <td style="background-color:Silver;border:1px solid black;width:2%;text-align:center">
            
        </td>
    </tr>
    
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
        <td style="border:1px solid black">
            <asp:HyperLink ID="hyp_tendn" runat="server"><%#Eval("Taikhoan")%></asp:HyperLink>
        </td>
        <td style="border:1px solid black">
            <asp:Literal ID="lit_hoten" runat="server"></asp:Literal>
        </td>
           <td style="border:1px solid black">
            <asp:Literal ID="lit_diachi" runat="server"></asp:Literal>
        </td>
           <td style="border:1px solid black">
            <asp:Literal ID="lit_sdt" runat="server"></asp:Literal>
        </td>
           <td style="border:1px solid black">
            <asp:Literal ID="lit_email" runat="server"></asp:Literal>
        </td>
           <td style="border:1px solid black">
            <asp:Literal ID="lit_sodu" runat="server"></asp:Literal>
        </td>
         <td style="border:1px solid black">
            <asp:HyperLink ID="hpl_hoadon" runat="server" Width="24" Height="24"/>
        </td>
        <td style="border:1px solid black">
            <asp:HyperLink ID="hpl_sua" runat="server" Width="24" Height="24"/>
        </td>
        <td style="border:1px solid black">
            <asp:HyperLink ID="hpl_xoa" runat="server" Width="24" Height="24"/>
            <asp:HiddenField ID="HiddenField1" runat="server" />
        </td>
    </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </font>
    </FooterTemplate>
    </asp:Repeater>
    <div style="width:100%;"> 
            <div style="float:left;">               
                <cc1:PagerV2_8 ID="PagerV2_1" runat="server" />
            </div>
        </div>
</div>
<div class="vide"></div>
</asp:Content>

